package customer.zspt.cn.customer.Adapter;

import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;

import java.util.List;


public class EnjoyAdapter extends BaseAdapter {

    public List<ImageView> enjoy;

    public EnjoyAdapter(List<ImageView> enjoy)
    {
        this.enjoy = enjoy;
    }

    @Override
    public int getCount() {
        return enjoy.size();
    }

    @Override
    public ImageView getItem(int i) {
        return enjoy.get(i);
    }

    @Override
    public long getItemId(int i) {
        return i;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        view = enjoy.get(i);
        return view;
    }
}